// Button.jsx
import React from 'react';

const Button = ({ onClickButton, children }: any) => {
    return (
        <div>
            <button onClick={onClickButton}>{children}</button>
            <span>{Math.random()}</span>
        </div>
    );
};

export default React.memo(Button);
